/**
 * Project:   warnme-app
 * File:      ApplicationState.java
 * License: 
 *            This file is licensed under GNU General Public License version 3
 *            http://www.gnu.org/licenses/gpl-3.0.txt
 *
 * Copyright: Bartosz Cichecki [ cichecki.bartosz@gmail.com ]
 * Date:      23-12-2012
 */

package dtu.ds.warnme.app.application;

import android.app.Application;
import android.content.Context;

/**
 * @author Bartosz Cichecki
 * 
 */
public class ApplicationState extends Application {

	private static ApplicationState applicationState;

	public static Context getApplicationState() {
		return applicationState;
	}

	@Override
	public void onCreate() {
		super.onCreate();

		synchronized (ApplicationState.class) {
			applicationState = this;
		}
	}

}
